package com.example.taco_cloud.taco.service;

import com.example.taco_cloud.taco.entity.User;
import com.example.taco_cloud.taco.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.support.RequestContextUtils;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;
    public User queryUserOne(int id) {
        return userMapper.queryById(id);
    }
}
